package com.atguigu.spzx.order.mapper;

import com.atguigu.spzx.model.entity.order.OrderInfo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @author syh
 * @create 2023-09-04 18:26
 */
@Mapper
public interface OrderInfoMapper {
    void save(OrderInfo orderInfo);

    OrderInfo findOrderById(Long id);

    List<OrderInfo> findOrderPageByStatus(Integer orderStatus);

    OrderInfo findOrderByOrderNo(Long orderNo);

    void updateOrderByOrderNo(Long orderNo);
}
